package com.platform.coreentity.base;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.repository.NoRepositoryBean;

import java.io.Serializable;

/**
 * describe:
 *
 * @author Administrator
 * @date 2019/07/23
 * @Time 23:29
 */
@NoRepositoryBean
public interface BaseRepository<T, ID extends Serializable> extends JpaRepository<T, ID> {

    /**
     * 自定义方法
     * @param modelType
     * @return
     */
    boolean support(String modelType);
}
